package com.ygp.asyn.service;

import com.ygp.asyn.entity.*;
import com.ygp.asyn.enums.DownCopyEnum;

public interface RpcAsyncDownloadService {
    OssUploadFileEntity sendToOSS(UploadFileStreamEntity req);

    OssConfigEntity getOssConfigDto();

    boolean sendDownedStatus(DownloadEntity req);

    boolean copyAll(DownCopyEnum dbEnum, String empCode, String fileName);

    boolean updateOverTmById(Long id);

    boolean updateOverTm();

    boolean judgeConcurrency();

    boolean selectDowningRepeat(DownloadEntity downEntity);

    Result<Long> sendDowningStatus(DownloadEntity req);
}
